<script>
export default { name: 'Exercise' };
</script>

<script setup>
import Banner from '@/components/Banner.vue'
</script>

<template>
  <div class="exercise-wrap">
    <div class="container">
      <Banner>
        <template v-slot:bg>
          <img class="banner-bg" src="@/assets/img/exercise/banner_bg.png" />
        </template>
      </Banner>

      <div class="content-item">
        <div class="content-item-title">故障演练系统架构</div>
        <div class="architecture">
          <img class="architecture-img" src="@/assets/img/exercise/architecture.png" />
        </div>
      </div>

      <!-- <RouterLink class="entrance-btn" to=".">进入演练系统</RouterLink> -->
    </div>
  </div>
</template>

<style lang="scss" scoped>
.exercise-wrap {
  background: #F9F9F9;

  .container {
    margin: 0 auto;
    padding: 20px 0;
    width: 1180px;
  }

  .content-item {
    margin-top: 38px;

    .content-item-title {
      padding-left: 12px;
      font-family: PingFangSC-Regular;
      font-size: 24px;
      line-height: 36px;
      color: #333333;
      letter-spacing: 0;
      font-weight: 400;
      position: relative;
      &::before {
        content: '';
        width: 4px;
        height: 24px;
        background: #0F75E8;
        transform: translate(0, -50%);
        position: absolute;
        left: 0;
        top: 50%;
      }
    }
  }

  .architecture {
    margin-top: 14px;
    height: 518px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;

    .architecture-img {
      height: 412px;
    }
  }

  .entrance-btn {
    margin: 50px auto 40px;
    display: block;
    width: 232px;
    height: 50px;
    background-image: linear-gradient(-78deg, #7EC939 0%, #4DA154 100%);
    border-radius: 25px;
    font-family: PingFangSC-Regular;
    text-align: center;
    font-size: 26px;
    color: #FFFFFF;
    line-height: 50px;
    letter-spacing: 0;
    font-weight: 400;
    transition: all 0.3s;
    cursor: pointer;
    &:hover {
      // box-shadow: 0 0 8px #fff;
    }
  }
}
</style>
